package com.beans;

import org.apache.struts.action.ActionForm;

public class CategoryForm extends ActionForm{
	
	 int categoryId;
	 String name;
	 String   allowComment;
	 
	public int getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
	public String getAllowComment() {
		return allowComment;
	}
	public void setAllowComment(String allowComment) {
		this.allowComment = allowComment;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "id="+categoryId+" , name ="+name+"allow comments"+allowComment;
		
	}
	

}
